home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 72 65 | 64 2e 77 65 65 67 2e 75 |Path: re|d.weeg.u|
|00000010| 69 6f 77 61 2e 65 64 75 | 21 72 6f 62 69 6e 73 6f |iowa.edu|!robinso|
|00000020| 6e 0a 46 72 6f 6d 3a 20 | 54 68 65 20 41 6d 6f 72 |n.From: |The Amor|
|00000030| 70 68 6f 75 73 20 4d 61 | 73 73 20 3c 72 6f 62 69 |phous Ma|ss <robi|
|00000040| 6e 73 6f 6e 40 62 6c 75 | 65 2e 77 65 65 67 2e 75 |nson@blu|e.weeg.u|
|00000050| 69 6f 77 61 2e 65 64 75 | 3e 0a 4e 65 77 73 67 72 |iowa.edu|>.Newsgr|
|00000060| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 6c 61 6e 67 2e |oups: co|mp.lang.|
|00000070| 63 0a 53 75 62 6a 65 63 | 74 3a 20 52 65 3a 20 48 |c.Subjec|t: Re: H|
|00000080| 45 4c 50 20 2d 20 6d 61 | 6c 6c 6f 63 0a 44 61 74 |ELP - ma|lloc.Dat|
|00000090| 65 3a 20 57 65 64 2c 20 | 32 37 20 4d 61 72 20 31 |e: Wed, |27 Mar 1|
|000000a0| 39 39 36 20 31 34 3a 32 | 38 3a 33 36 20 2d 30 36 |996 14:2|8:36 -06|
|000000b0| 30 30 0a 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |00.Organ|ization:|
|000000c0| 20 55 6e 69 76 65 72 73 | 69 74 79 20 6f 66 20 49 | Univers|ity of I|
|000000d0| 6f 77 61 2c 20 49 6f 77 | 61 20 43 69 74 79 2c 20 |owa, Iow|a City, |
|000000e0| 49 41 2c 20 55 53 41 0a | 44 69 73 74 72 69 62 75 |IA, USA.|Distribu|
|000000f0| 74 69 6f 6e 3a 20 77 6f | 72 6c 64 0a 4d 65 73 73 |tion: wo|rld.Mess|
|00000100| 61 67 65 2d 49 44 3a 20 | 3c 50 69 6e 65 2e 41 33 |age-ID: |<Pine.A3|
|00000110| 32 2e 33 2e 39 31 2e 39 | 36 30 33 32 37 31 34 32 |2.3.91.9|60327142|
|00000120| 31 33 37 2e 31 31 39 34 | 38 38 43 2d 31 30 30 30 |137.1194|88C-1000|
|00000130| 30 30 40 72 65 64 2e 77 | 65 65 67 2e 75 69 6f 77 |00@red.w|eeg.uiow|
|00000140| 61 2e 65 64 75 3e 0a 52 | 65 66 65 72 65 6e 63 65 |a.edu>.R|eference|
|00000150| 73 3a 20 3c 31 39 39 36 | 4d 61 72 32 37 2e 31 34 |s: <1996|Mar27.14|
|00000160| 33 38 33 34 2e 36 30 31 | 37 40 6c 65 65 64 73 2e |3834.601|7@leeds.|
|00000170| 61 63 2e 75 6b 3e 0a 4e | 4e 54 50 2d 50 6f 73 74 |ac.uk>.N|NTP-Post|
|00000180| 69 6e 67 2d 48 6f 73 74 | 3a 20 72 65 64 2e 77 65 |ing-Host|: red.we|
|00000190| 65 67 2e 75 69 6f 77 61 | 2e 65 64 75 0a 4d 69 6d |eg.uiowa|.edu.Mim|
|000001a0| 65 2d 56 65 72 73 69 6f | 6e 3a 20 31 2e 30 0a 43 |e-Versio|n: 1.0.C|
|000001b0| 6f 6e 74 65 6e 74 2d 54 | 79 70 65 3a 20 54 45 58 |ontent-T|ype: TEX|
|000001c0| 54 2f 50 4c 41 49 4e 3b | 20 63 68 61 72 73 65 74 |T/PLAIN;| charset|
|000001d0| 3d 55 53 2d 41 53 43 49 | 49 0a 58 2d 53 65 6e 64 |=US-ASCI|I.X-Send|
|000001e0| 65 72 3a 20 72 6f 62 69 | 6e 73 6f 6e 40 72 65 64 |er: robi|nson@red|
|000001f0| 2e 77 65 65 67 2e 75 69 | 6f 77 61 2e 65 64 75 0a |.weeg.ui|owa.edu.|
|00000200| 49 6e 2d 52 65 70 6c 79 | 2d 54 6f 3a 20 3c 31 39 |In-Reply|-To: <19|
|00000210| 39 36 4d 61 72 32 37 2e | 31 34 33 38 33 34 2e 36 |96Mar27.|143834.6|
|00000220| 30 31 37 40 6c 65 65 64 | 73 2e 61 63 2e 75 6b 3e |017@leed|s.ac.uk>|
|00000230| 20 0a 0a 4f 6e 20 57 65 | 64 2c 20 32 37 20 4d 61 | ..On We|d, 27 Ma|
|00000240| 72 20 31 39 39 36 2c 20 | 41 20 4d 20 43 61 73 65 |r 1996, |A M Case|
|00000250| 79 20 77 72 6f 74 65 3a | 0a 0a 3e 20 49 20 70 61 |y wrote:|..> I pa|
|00000260| 73 73 20 74 68 69 73 20 | 63 68 61 72 61 63 74 65 |ss this |characte|
|00000270| 72 20 73 74 72 69 6e 67 | 20 69 6e 74 6f 20 61 20 |r string| into a |
|00000280| 66 75 6e 63 74 69 6f 6e | 2c 20 64 65 66 69 6e 65 |function|, define|
|00000290| 64 20 61 73 0a 3e 20 0a | 3e 20 49 74 65 6d 4e 61 |d as.> .|> ItemNa|
|000002a0| 6d 65 20 2a 63 68 61 72 | 0a 0a 20 20 63 68 61 72 |me *char|.. char|
|000002b0| 20 2a 49 74 65 6d 4e 61 | 6d 65 3b 20 20 2f 2a 20 | *ItemNa|me; /* |
|000002c0| 74 68 69 73 20 69 73 20 | 43 2c 20 6e 6f 74 20 50 |this is |C, not P|
|000002d0| 61 73 63 61 6c 2e 20 3a | 2d 29 20 2a 2f 0a 0a 3e |ascal. :|-) */..>|
|000002e0| 20 61 6e 64 20 49 20 68 | 61 76 65 20 61 6c 72 65 | and I h|ave alre|
|000002f0| 61 64 79 20 61 6c 6c 6f | 63 61 74 65 64 20 6d 65 |ady allo|cated me|
|00000300| 6d 6f 72 79 20 28 49 74 | 65 6d 4e 61 6d 65 3d 6d |mory (It|emName=m|
|00000310| 61 6c 6c 6f 63 28 35 30 | 29 29 20 61 6e 64 0a 3e |alloc(50|)) and.>|
|00000320| 20 73 65 74 20 69 74 20 | 74 6f 20 61 20 76 61 6c | set it |to a val|
|00000330| 75 65 2e 20 49 74 20 67 | 65 74 73 20 69 6e 74 6f |ue. It g|ets into|
|00000340| 20 74 68 65 20 66 75 6e | 63 74 69 6f 6e 20 66 69 | the fun|ction fi|
|00000350| 6e 65 2c 20 62 75 74 20 | 77 68 65 6e 20 49 20 63 |ne, but |when I c|
|00000360| 61 6c 6c 0a 3e 20 61 6e | 6f 74 68 65 72 20 66 75 |all.> an|other fu|
|00000370| 6e 63 74 69 6f 6e 2c 20 | 70 61 73 73 69 6e 67 20 |nction, |passing |
|00000380| 49 74 65 6d 4e 61 6d 65 | 20 74 6f 20 69 74 2c 20 |ItemName| to it, |
|00000390| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 20 63 68 61 |the func|tion cha|
|000003a0| 6e 67 65 73 20 69 74 0a | 3e 20 74 6f 20 62 65 63 |nges it.|> to bec|
|000003b0| 6f 6d 65 20 6e 6f 74 68 | 69 6e 67 2c 20 61 6c 74 |ome noth|ing, alt|
|000003c0| 68 6f 75 67 68 20 49 20 | 64 6f 6e 74 20 73 65 65 |hough I |dont see|
|000003d0| 20 77 68 79 2e 20 54 68 | 65 20 66 75 6e 63 74 69 | why. Th|e functi|
|000003e0| 6f 6e 20 77 68 69 63 68 | 20 69 73 0a 3e 20 63 61 |on which| is.> ca|
|000003f0| 6c 6c 65 64 20 64 6f 65 | 73 20 75 73 65 20 6d 61 |lled doe|s use ma|
|00000400| 6c 6c 6f 63 20 74 6f 20 | 61 6c 6c 6f 63 61 74 65 |lloc to |allocate|
|00000410| 20 6d 65 6d 6f 72 79 20 | 66 6f 72 20 6f 74 68 65 | memory |for othe|
|00000420| 72 20 73 74 72 69 6e 67 | 73 2c 20 62 75 74 20 73 |r string|s, but s|
|00000430| 68 6f 75 6c 64 6e 74 0a | 3e 20 63 68 61 6e 67 65 |houldnt.|> change|
|00000440| 20 49 74 65 6d 4e 61 6d | 65 20 69 6e 20 61 6e 79 | ItemNam|e in any|
|00000450| 20 77 61 79 2e 0a 0a 20 | 20 50 6f 73 74 20 63 6f | way... | Post co|
|00000460| 64 65 2e 20 20 4a 75 73 | 74 20 65 6e 6f 75 67 68 |de. Jus|t enough|
|00000470| 20 74 6f 20 69 6c 6c 75 | 73 74 72 61 74 65 20 74 | to illu|strate t|
|00000480| 68 65 20 70 72 6f 62 6c | 65 6d 2e 20 20 41 74 20 |he probl|em. At |
|00000490| 61 20 67 75 65 73 73 2c | 20 79 6f 75 20 0a 68 61 |a guess,| you .ha|
|000004a0| 76 65 20 61 20 6c 69 6e | 65 20 69 6e 20 79 6f 75 |ve a lin|e in you|
|000004b0| 72 20 66 75 6e 63 74 69 | 6f 6e 20 6c 69 6b 65 20 |r functi|on like |
|000004c0| 0a 0a 49 74 65 6d 4e 61 | 6d 65 20 3d 20 22 46 6f |..ItemNa|me = "Fo|
|000004d0| 6f 62 61 72 22 3b 0a 0a | 20 20 74 68 61 74 20 73 |obar";..| that s|
|000004e0| 65 74 73 20 49 74 65 6d | 4e 61 6d 65 20 74 6f 20 |ets Item|Name to |
|000004f0| 70 6f 69 6e 74 20 61 74 | 20 74 68 65 20 73 74 72 |point at| the str|
|00000500| 69 6e 67 20 6c 69 74 65 | 72 61 6c 20 22 46 6f 6f |ing lite|ral "Foo|
|00000510| 62 61 72 22 2e 20 20 49 | 66 20 79 6f 75 20 0a 6d |bar". I|f you .m|
|00000520| 65 61 6e 74 20 74 6f 20 | 63 6f 70 79 20 74 68 65 |eant to |copy the|
|00000530| 20 73 74 72 69 6e 67 20 | 22 46 6f 6f 62 61 72 22 | string |"Foobar"|
|00000540| 20 69 6e 74 6f 20 49 74 | 65 6d 4e 61 6d 65 2c 20 | into It|emName, |
|00000550| 63 68 61 6e 67 65 20 74 | 68 65 20 6c 69 6e 65 20 |change t|he line |
|00000560| 74 6f 20 0a 0a 73 74 72 | 63 70 79 28 49 74 65 6d |to ..str|cpy(Item|
|00000570| 4e 61 6d 65 2c 20 22 46 | 6f 6f 62 61 72 22 29 3b |Name, "F|oobar");|
|00000580| 0a 0a 2f 2a 2a 4a 61 6d | 65 73 20 52 6f 62 69 6e |../**Jam|es Robin|
|00000590| 73 6f 6e 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |son*****|********|
|000005a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 20 20 20 20 20 20 |********|** |
|000005b0| 20 20 20 20 20 20 0a 20 | 20 22 49 66 20 61 20 66 | . | "If a f|
|000005c0| 61 74 61 6c 20 65 72 72 | 6f 72 20 6f 63 63 75 72 |atal err|or occur|
|000005d0| 73 2c 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 73 |s, the p|rogram s|
|000005e0| 68 6f 75 6c 64 20 6e 6f | 74 20 62 65 20 61 6c 6c |hould no|t be all|
|000005f0| 6f 77 65 64 20 74 6f 20 | 63 6f 6e 74 69 6e 75 65 |owed to |continue|
|00000600| 2e 22 0a 20 2d 2d 20 4f | 72 61 63 6c 65 20 50 72 |.". -- O|racle Pr|
|00000610| 6f 2a 43 20 55 73 65 72 | 27 73 20 47 75 69 64 65 |o*C User|'s Guide|
|00000620| 20 20 20 20 20 20 20 20 | 20 2a 2a 2a 2a 2a 2a 2a | | *******|
|00000630| 2a 2a 2a 2a 2a 2a 6a 61 | 6d 65 73 2d 72 6f 62 69 |******ja|mes-robi|
|00000640| 6e 73 6f 6e 40 75 69 6f | 77 61 2e 65 64 75 2a 2a |nson@uio|wa.edu**|
|00000650| 2f 0a 0a 0a 0a 0a | |/..... | |
+--------+-------------------------+-------------------------+--------+--------+